Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Emissions alignment with expected schedule #20

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

Agilulfo1820
Copy link
Member

@Agilulfo1820 Agilulfo1820 commented Sep 27, 2024

This PR addresses a typo in the configuration of the emissions schedule caused by setting the X allocations decay period to 912 instead of the intended 12. As a result, a correction is made to reduce the B3TR distribution by 200,000 in round 14 to offset the excess 200,000 B3TR distributed in round 13.

Changes Made:

  • Adjusted the decay period for X allocations to the correct value.
  • Applied a reduction of 200,000 B3TR in round 14.

Testing:

Testing has been conducted using the "Should be able to perform all cycles till reaching B3TR supply cap with Emissions alignment" test case. This confirms that rounds 14 and 15 are processed correctly, and the emissions schedule aligns with the expected values.

@Agilulfo1820 Agilulfo1820 requested a review from a team as a code owner September 27, 2024 16:13
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 28.67647% with 194 lines in your changes missing coverage. Please review.

Project coverage is 20.71%. Comparing base (05df3ae) to head (f6193a0).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
contracts/deprecated/V1/EmissionsV1.sol 18.14% 194 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #20       +/-   ##
===========================================
- Coverage   94.50%   20.71%   -73.80%     
===========================================
  Files          39       53       +14     
  Lines        2601     3911     +1310     
  Branches      561      574       +13     
===========================================
- Hits         2458      810     -1648     
- Misses        142     3101     +2959     
+ Partials        1        0        -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Agilulfo1820 Agilulfo1820 merged commit 0dda53c into main Sep 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants